<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>编辑订单</title>
    <%@ include file="../../common/meta.jsp" %>
    <%@ include file="../../common/common-body.jsp" %>
    <link href="${ctx}/css/page/common-win.css?t=${now}" rel="stylesheet">
    <style>
        #_btnDiv{
            height: 34px;
            margin-bottom: 0px;
        }
    </style>
    <script>
        var oneOrderInfo = ${oneOrderInfo};
        var searchInfo = ${searchInfo};
    </script>
</head>
<body class="gray-bg">
<div id="vue">
    <div class="myContent">
        <div class="tabs-container">
            <div class="tab-content">
                <%--项目简介--%>
                <div id="tab-1" class="tab-pane active">
                    <div class="row">
                        <div class="col-sm-12">
                            <div class="ibox float-e-margins myIbox">
                                <div class="ibox-title">
                                    <h5>订单信息</h5>
                                </div>
                                <div class="ibox-content">
                                    <form class="form-horizontal m-t" id="_orgDataForm">
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">订单状态：</label>
                                            <label class="col-sm-3 control-label control-label-content">
                                                <c:if test="${cBizName == '问诊'}">
                                                    <c:forEach items="${inquiryStatusMap}" var="item">
                                                        ${not empty oneOrderInfo && oneOrderInfo.status == item.key ? item.value : '' }
                                                    </c:forEach>
                                                </c:if>
                                                <c:if test="${cBizName == ''}">
                                                    <c:forEach items="${statusMap}" var="item">
                                                        ${not empty oneOrderInfo && oneOrderInfo.status == item.key ? item.value : '' }
                                                    </c:forEach>
                                                </c:if>
                                            </label>
                                            <label class="col-sm-2 control-label">支付状态：</label>
                                            <label class="col-sm-3 control-label control-label-content">
                                                <c:forEach items="${payStatusMap}" var="item">
                                                    ${not empty oneOrderInfo && oneOrderInfo.payStatus == item.key ? item.value : '' }
                                                </c:forEach>
                                            </label>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">订单创建时间：</label>
                                            <label class="col-sm-3 control-label control-label-content">${not empty oneOrderInfo ? oneOrderInfo.orderCreateTimeStr : ''}</label>
                                            <label class="col-sm-2 control-label">订单交易时间：</label>
                                            <label class="col-sm-3 control-label control-label-content">${not empty oneOrderInfo ? oneOrderInfo.payTimeStr : ''}</label>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">支付宝UID：</label>
                                            <label class="col-sm-3 control-label control-label-content">${not empty oneOrderInfo ? oneOrderInfo.userId : ''}</label>
                                            <label class="col-sm-2 control-label">订单金额：</label>
                                            <label class="col-sm-3 control-label control-label-content">${not empty oneOrderInfo ? oneOrderInfo.realTradeFee : ''}</label>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">订单来源：</label>
                                            <label class="col-sm-3 control-label control-label-content">
                                                <c:forEach items="${sourceMap}" var="item">
                                                    ${not empty oneOrderInfo && oneOrderInfo.source == item.code ? item.name : '' }
                                                </c:forEach>
                                            </label>
                                            <label class="col-sm-2 control-label">订单类型：</label>
                                            <label class="col-sm-3 control-label control-label-content">
                                                <c:forEach items="${contentTypeMap}" var="item">
                                                    ${not empty oneOrderInfo && oneOrderInfo.contentType == item.key ? item.value : '' }
                                                </c:forEach>
                                            </label>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">订单名称：</label>
                                            <label class="col-sm-8 control-label control-label-content">${not empty oneOrderInfo ? oneOrderInfo.orderName : ''}</label>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-2 control-label">订单详情URL：</label>
                                            <label class="col-sm-8 control-label control-label-content">${not empty oneOrderInfo ? oneOrderInfo.orderLinkUrl : ''}</label>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="form-group" id="_btnDiv">
                    <div class="col-sm-4 col-sm-offset-5">
                        <input type="button" class="btn btn-white" onclick="doBack()" value="返回">
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctx}/js/order/win/queryOrderMgr.js?t=${now}"></script>
</body>
</html>
